package com.atguigu.lease.web.admin.service;

import com.atguigu.lease.model.entity.SystemUser;
import com.atguigu.lease.web.admin.dto.AdminLoginDto;
import com.atguigu.lease.web.admin.dto.SystemUserSearchDto;
import com.atguigu.lease.web.admin.vo.AdminCaptchaVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 1
* @description 针对表【system_user(员工信息表)】的数据库操作Service
* @createDate 2024-08-28 11:00:26
*/
public interface SystemUserService extends IService<SystemUser> {

    Page<SystemUser> getPage(SystemUserSearchDto searchDto);

    boolean saveOrUpdateSystemUser(SystemUser systemUser);

    AdminCaptchaVo getCaptcha();

    String login(AdminLoginDto loginDto);
}
